<!DOCTYPE html>
<html lang="en">
  <head>
      <meta charset="UTF-8">
      <title>关系运算符</title>
  </head>

  <body>
  <script type="text/javascript">
  <!--
    等于：==是简单地做数值比较
    全等：===除了做数值比较，还会比较两个变量的数据类型
  -->
    var a = "100";
    var b = 100;
    console.log(a == b);//true
    console.log(a === b); //false
  </script>

  </body>
</html>